<template>
  <div class="home">
    <h1>{{ message }}</h1>
    <button @click="changeMessage">Change Message</button>
    <p v-if="showDetails">Some detailed information</p>
  </div>
</template>

<script>
export default {
  name: 'HomeView',
  data() {
    return {
      message: 'Welcome to Your Vue.js App',
      showDetails: false,
    };
  },
  methods: {
    changeMessage() {
      this.message = 'You clicked the button!';
      this.showDetails = true;
    },
  },
};
</script>

<style scoped>
.home {
  font-family: Avenir, Helvetica, Arial, sans-serif;
}
</style>
